package com.sun.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Auth: syh
 * @Date: 2021/10/19 10:39
 * @Email: 1014170249@qq.com
 * @Desc: 不在能知，而在能行
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_user")
public class SysUser {

    @TableId(type=IdType.AUTO)
    private Integer id;

    @TableField(value = "l_age")
    private Integer age;

    @TableField(value = "vc_user_name")
    private String userName;

    @TableField(value = "vc_address")
    private String address;
}
